How to simultaneously update multiple object's values inside an array

visit shbcf.ru